@layout("/common/head.html"){
<body>
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
    <legend>表单</legend>
</fieldset>
<form class="layui-form" action="">
    <#input inputName="菜单名称" id="name" name="name" required="required"/>
    <#input inputName="父级ID" id="pId" name="pId"/>
    <#input inputName="菜单地址" id="url" name="url" required="required"/>
    <#input inputName="菜单权限" id="role" name="role"/>
    <#select selectName="是否是菜单" id="isMenu" name="isMenu" list="${isMenuEnum}" optionName="name" optionValue="code" required="required"/>
    <#input inputName="菜单排序" id="sort" name="sort" />
    <#button btName="添加菜单" filter="add"/>
</form>
<script src="${ctxPath}/static/modules/sys/menu/add.js"></script>
</body>
@}